package alt.djudge.frontend.client.ui.grids;

import alt.djudge.frontend.shared.dto.admin.AdminDTOEntry;

public class DTOEntryGridWrapper<T extends AdminDTOEntry>
{
	public T dtoEntry;
	
	public int index;
	
	public int receivedIndex;
	
	public AbstractGrid<T> grid;
	
	public DTOEntryGridWrapper(AbstractGrid<T> grid, int receivedIndex, int index, T entry)
	{
		this.grid = grid;
		this.index = index;
		this.receivedIndex = receivedIndex;
		this.dtoEntry = entry;
	}
}
